Skip to content

Modernize/simplify JUnit Gradle configuration#167

Merged
laurit merged 1 commit into
open-telemetry:mainfrom
trask:modernize-junit-config
Nov 26, 2025
Merged

Modernize/simplify JUnit Gradle configuration#167
laurit merged 1 commit into
open-telemetry:mainfrom
trask:modernize-junit-config

Conversation

@trask

@trask trask commented Nov 25, 2025

Copy link
Copy Markdown
Member

Use useJUnitJupiter() which automatically adds the necessary JUnit dependencies, removing the need to explicitly declare junit-bom, junit-jupiter-api, junit-jupiter-params, junit-jupiter-engine, and junit-platform-launcher.

Use useJUnitJupiter() which automatically adds the necessary JUnit dependencies, removing the need to explicitly declare junit-bom, junit-jupiter-api, junit-jupiter-params, junit-jupiter-engine, and junit-platform-launcher.

testing {
suites.withType(JvmTestSuite::class).configureEach {
useJUnitJupiter("5.14.0")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intentionally 1 version behind to confirm renovate picks it up

@trask trask marked this pull request as ready for review November 25, 2025 18:05
@trask trask requested review from a team as code owners November 25, 2025 18:05
@laurit laurit merged commit bd26b4f into open-telemetry:main Nov 26, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants